﻿@model Sispe.Entities.CONDICIONE

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>CONDICIONE</legend>

        <div class="editor-field">
            @Html.Hidden("IdCondicion")
        </div>

        <div class="editor-field">
            @Html.Hidden("IdContrato")
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Condicion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Condicion)
            @Html.ValidationMessageFor(model => model.Condicion)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    <a href="@Url.Action("Index", "Condicion", new { id = Html.Value("IdContrato") })">
                <img src ="@Url.Content("~/Images/back.png")" title="Volver a Condiciones" 
                    alt="Volver a Condiciones" /></a> 
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
